﻿@{
    ViewData["Title"] = "PickingAdd";
    Layout = "~/Views/Home/Main.cshtml";
}

<h4>仓库管理/出库管理/生产领料管理/生产领料添加</h4>

<form class="layui-form" action="" lay-filter="example">
    <div>
        <h4 class="basic-info-title" style="text-align:center;margin-bottom:15px">基本信息</h4>
        <div class="layui-form-item ">
            <div class="layui-inline layui-col-xs5">
                <label class="layui-form-label">领料名称</label>
                <div class="layui-input-block">
                    <input type="text" id="pickingName" name="pickingName" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input">
                </div>
            </div>
            <div class="layui-inline layui-col-xs5">
                <label class="layui-form-label">领料编号</label>
                <div class="layui-input-block">
                    <input type="text" id="pickingNo" name="pickingNo" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input">
                </div>
            </div>
        </div>
        <div class="layui-form-item ">
            <div class="layui-inline layui-col-xs5">
                <label class="layui-form-label">领料日期</label>
                <div class="layui-input-block">
                    <input type="text" id="pickingDate" name="pickingDate" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input">
                </div>
            </div>
            <div class="layui-inline layui-col-xs5">
                <label class="layui-form-label">领料人</label>
                <div class="layui-input-block">
                    <input type="text" id="picker" name="picker" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input">
                </div>
            </div>
        </div>
        <div class="layui-form-item ">
            <div class="layui-inline layui-col-xs5">
                <label class="layui-form-label">工单名称</label>
                <div class="layui-input-block">
                    <input type="text" id="ticketsName" name="ticketsName" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input">
                </div>
            </div>
            <div class="layui-inline layui-col-xs5">
                <label class="layui-form-label">工单编号</label>
                <div class="layui-input-block">
                    <input type="text" id="ticketsNo" name="ticketsNo" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input">
                </div>
            </div>
        </div>
        <div class="layui-form-item ">
            <div class="layui-inline layui-col-xs5">
                <label class="layui-form-label">任务名称</label>
                <div class="layui-input-block">
                    <input type="text" id="taskName" name="taskName" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input">
                </div>
            </div>
            <div class="layui-inline layui-col-xs5">
                <label class="layui-form-label">任务编号</label>
                <div class="layui-input-block">
                    <input type="text" id="taskNo" name="taskNo" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input">
                </div>
            </div>
        </div>
        <div class="layui-form-item ">
            <div class="layui-inline layui-col-xs5">
                <label class="layui-form-label">工艺路线</label>
                <div class="layui-input-block">
                    <input type="text" id="processRouteName" name="processRouteName" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input">
                </div>
            </div>
            <div class="layui-inline layui-col-xs5">
                <label class="layui-form-label">工序名称</label>
                <div class="layui-input-block">
                    <input type="text" id="productionProcessesName" name="productionProcessesName" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input">
                </div>
            </div>
        </div>
        <div class="layui-form-item ">
            <div class="layui-inline layui-col-xs8">
                <label class="layui-form-label">备注</label>
                <div class="layui-input-block">
                    <textarea placeholder="请输入内容" id="pickingRemark" name="pickingRemark" class="layui-textarea"></textarea>
                </div>
            </div>
        </div>
        <div class="layui-input-block" style="margin-left:80%">
            <button type="button" class="layui-btn layui-bg-blue" lay-filter="addIngredient">添加原料</button>
        </div>
    </div>
    <div style="margin-top:5%">、
        <h4 class="basic-info-title" style="text-align:center;margin-bottom:15px">原料清单</h4>
    </div>
    <div id="manifest">
    </div>
    <div class="layui-form-item" style="margin-left:70%">
        <div class="layui-input-block">
            <button type="reset" class="layui-btn layui-btn-primary" onclick="location.href='/Warehouse/PickingShow'">取消</button>
            <button type="submit" class="layui-btn" lay-submit lay-filter="formDemo">添加</button>
        </div>
    </div>
</form>